/*============================
*	File Name: main.c
*	Created Date: 12/16/2021 5:16:26 PM
*	Last Modified Date:12/17/2021 12:15:30 AM
*	Author: mistgc
*	Email: georgecai0908@outlook.com
============================*/
#include <stdio.h>
#include "Pet.h"

int main(){

	Pet pet1, pet2;
	Pet_ctor(&pet1, "多多");
	Pet_ctor(&pet2, "煤球");

	Pet_rename(&pet1, "花生");

	printf("%s\n",Pet_getName(&pet1));		//输出结果：花生
	printf("%s\n",Pet_getName(&pet2));		//输出结果：煤球

	return 0;
}
